@import url(https://fonts.googleapis.com/css?family=Roboto:100&subset=latin-ext);

html,
body {
    height: 100%;
}

.wrap {
    min-height: 100%;
    height: auto;
    margin: 0 auto -60px;
    padding: 0 0 60px;
}

.wrap > .container {
    padding: 70px 15px 20px;
}

.footer {
    height: 60px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.jumbotron {
    text-align: center;
    background-color: transparent;
}

.jumbotron .btn {
    font-size: 21px;
    padding: 14px 24px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    position: relative;
    top: 1px;
    display: inline-block;
    font-family: 'Glyphicons Halflings';
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    padding-left: 5px;
}

a.asc:after {
    content: /*"\e113"*/ "\e151";
}

a.desc:after {
    content: /*"\e114"*/ "\e152";
}

.sort-numerical a.asc:after {
    content: "\e153";
}

.sort-numerical a.desc:after {
    content: "\e154";
}

.sort-ordinal a.asc:after {
    content: "\e155";
}

.sort-ordinal a.desc:after {
    content: "\e156";
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding: 15px;
    border: none;
}

/* This was added to make the Select2 Multiple work nicely. */
/*.form-group select, .form-group label{*/
.form-group select, .form-group label.full-width{
    width:100%;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Opera and Firefox */
}


@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 15px;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
}

.nav > li > form > button.logout:focus {
    outline: none;
}

/* BELOW: Added by RF */
body div.wrapper header.main-header a.logo{
    background-color:#ffffff;
}
body div.wrapper header.main-header a.logo:hover{
    background-color:#ffffff;
    opacity: 0.8;
}

ul.pagination{
    margin-top:0 !important;margin-bottom:0 !important;
}

.no-left-margin label, .no-left-margin .form-group div{
    padding-left:0;
}

div.nav-tabs-custom-no-shaddow{
    box-shadow: none;
}

div.box-body-no-padding{
    padding-top:0;
    padding-left:0;
    padding-right:0;
}

.extra-padding-header{
    margin-bottom:0px;
    padding-left:10px;
}

.table-border-bottom-blue{
    border-bottom:rgba(0, 192, 239, .4) 2px solid;
}

.table-border-top-blue-trans{
    border-top:rgba(0, 192, 239, .1) 2px solid;
}

.table-section-header{
    font-weight: bold;
}

.text-align-left{ text-align: left; }
.text-align-right{ text-align: right; }
.text-align-center{ text-align: center; }

/** Enquiry Gridview classes */
tr.grid-row-enquiry-open{
    background-color: rgba(219, 249, 221, 0.4);
}
tr.grid-row-enquiry-closed{}
tr.grid-row-enquiry-closed td{
    text-decoration: line-through;
    color: rgb(201, 202, 204);
}
tr.grid-row-enquiry-converted{
    background-color: rgb(246, 247, 205);
}
tr.grid-row-enquiry-unread{}
tr.grid-row-enquiry-unread td{
    font-weight: bold;
}

tr.grid-row-enquiry-read{}

body.login_layout div.wrapper{
    padding-top:60px;
    display: block;
    position: absolute;
    bottom:0; top:0; left:0; right:0;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    overflow:auto;
}

body.login_layout div.wrapper div.content-wrapper{
    margin-left:0;
    padding-top:20px;
    background: none;
}

div.login-box, div.register-box{
    margin-top:7%;
}

div.login-box-body{
    position:relative;
}

div.login-box-body div.widget-user-image {
    position: absolute;
    top: -55px;
    left: 50%;
    margin-left: -45px;
    width: 90px;
    height:90px;
    overflow:hidden;
    border-radius: 50%;
    border: 3px solid #ffffff;
    background-color:#ffffff;
    box-shadow: 0px 5px 10px -8px #000000, 2px 2px 6px -1px rgba(0,0,0,0.1);
}

div.login-box-body div.widget-user-image>img {
    margin-left:-5px;
    margin-top:-5px;
    width:100px;
    height:auto;
}

body.login_layout .main-header-login nav.navbar{
    background-color: #ffffff !important;
    margin-left:0 !important;
}

body.login_layout .main-header-login nav.navbar a.logo:hover{
    opacity:1 !important;
}

body.login_layout .main-header-login nav.navbar {
    padding-top: 5px;
    padding-bottom: 5px;
}

h1{
    margin-left:15px;
    margin-right:15px;
}

/* Selection Management */
.main-header, h1, .box-title, .pagination, .sidebar, .breadcrumb, .main-footer{
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.no-select{
    -webkit-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}
h1, .box-title, .nav-tabs .header{
    letter-spacing: 0.15em;
}

h1 small{
    letter-spacing: 0.03em;
}


/** FILE LISTINGS */

/* Extra small devices (phones, less than 768px) */
/* No media query since this is the default in Bootstrap */
/*.file-panel{min-height: 100px;}*/
.icon-spacer{min-height: 30px;}

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
    /*.file-panel{min-height: 150px;}*/
    .icon-spacer{min-height: 50px;}
}

/* Medium devices (desktops, 992px and up) */
@media (min-width: 992px) {
    /*.file-panel{min-height: 200px;}*/
    .icon-spacer{min-height: 80px;}
}

/* Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /*.file-panel{min-height: 250px;}*/
    .icon-spacer{min-height: 100px;}
}
.file-panel{cursor: pointer;}
.file-panel:hover{opacity: .8;}
.panel-row{
    user-select: none;
}

.panel-top{
    /*background-image: radial-gradient(#ffffff, #e8e8e8);*/
    background-image: radial-gradient(closest-side,#ffffff, #f2f2f2);
}

.panel-top, .panel-bottom{
    padding:7px;
}

.panel-bottom{
    border-top: 1px solid rgba(0,0,0,0.1);
    color: #ffffff;
    background-color: #3c8dbc;
}

.icon-spacer p{
    text-align:center;
    padding-top:40px;
    padding-bottom:40px;
    margin-bottom:0;
    font-size:2em;
}
.icon-p{ margin-top: 0; margin-bottom: 0; }
.file-ext-all{
    color:#D4D4D4;
}
.file-ext-document{
    color:#bad4ff;  /* BLUE */
}
.file-ext-spreadsheet{
    color:#b3d6b3; /* GREEN */
}
.file-ext-pdf{
    color:#da8383; /* RED */
}
.file-ext-slides{
    color:#ffd6b3; /* ORANGE */
}
.file-ext-code{
    /*color:#ffd6b3; /* ORANGE */
}
.file-ext-image, .file-ext-audio, .file-ext-video{
    color:#bcb0cc;  /* PURPLE */
}
.file-ext-directory{
    color:#B4B4B4;
}
.icon-p-sub{
    font-size: .8em;
}
.file-panel .panel-top .icon-spacer .hover-in{display:none;}
.file-panel .panel-top .icon-spacer .hover-out{display:block;}
.file-panel:hover .panel-top .icon-spacer .hover-in{display:block;}
.file-panel:hover .panel-top .icon-spacer .hover-out{display:none;}

.box-placeholder{background-color:#dfdfdf;opacity:.6;}
.sortable_moving{opacity:.5;}


/** Widget: ITEM LIST **/
.item-list {
    margin: 0;
    padding: 0;
    list-style: none;
    overflow: auto;
}
.item-list > li {
    border-radius: 2px;
    padding: 10px;
    background: #f4f4f4;
    margin-bottom: 2px;
    border-left: 2px solid #e6e7e8;
    color: #444;
    user-select: none;
}
.item-list > li:last-of-type {
    margin-bottom: 0;
}
.item-list > li .text {
    display: inline-block;
    margin-left: 5px;
    font-weight: 600;
}
.item-list > li .label {
    margin-left: 10px;
    font-size: 9px;
}
.item-list > li .tools {
    display: inline-block;
    float: right;
    color: #97a0b3;
}
.item-list > li .tools > .fa,
.item-list > li .tools > .glyphicon,
.item-list > li .tools > .ion {
    margin-right: 5px;
    cursor: pointer;
}
.item-list > li .tools a.list-button{
    color: #97a0b3;
}
.item-list > li:hover .tools {
    display: inline-block;
}
.item-list > li .tools a.list-button{
    opacity: .7;
}
.item-list > li .tools a.list-button:hover{
    opacity: 1;
}
.item-list > li.location-item:hover .tools a.location-button{
    color: #3c8dbc;
}
.item-list > li.location-item:hover .tools a.location-button.list-button-red{
    color: #dd4b39;
}
.item-list > li.location-item:hover .tools a.location-button.list-button-green{
    color: #7ab425;
}

.item-list .danger {
    border-left-color: #dd4b39;
}
.item-list .warning {
    border-left-color: #f39c12;
}
.item-list .info {
    border-left-color: #00c0ef;
}
.item-list .success {
    border-left-color: #00a65a;
}
.item-list .primary {
    border-left-color: #3c8dbc;
}
.item-list .handle {
    display: inline-block;
    cursor: move;
    margin: 0 5px;
    color: #97a0b3;
}

.skin-blue .sidebar-menu > li.mnu-highlight-urgent:hover > a,
.skin-blue .sidebar-menu > li.mnu-highlight-urgent.active > a {
    color: #ffff00;
}

.skin-blue .sidebar li.mnu-highlight-urgent > a {
    color: #ffff00;
}

/* SHAPE BOXES */
.shape_container{
    width: 100%;
    height: 250px;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
}

.shape_container .clipped{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.shape_container .logotri{
    background-color: #0D7DC6;
    clip-path: polygon(0 0, 15% 0, 6% 33%, 0 14%);
    background-image: url('/img/logo_white.png') !important;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: 4.8% 5%;
    background-size: 28px 40px;
}

.shape_container .shape{
    /*background-image: url('https://placeimg.com/1000/400/any');*/
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: right top;
    background-size: cover;
    clip-path: polygon(41% 0, 100% 0, 100% 100%, 85% 100%, 29% 24%);
}

.shape_container .under_shape{
    background-color: #0D7DC6;
    clip-path: polygon(42% 0, 100% 0, 100% 100%, 80% 100%, 44% 40%, 30% 24%);
}

.shape_container .vline{
    position: absolute;
    top: 123px;
    left: 30%;
    background-color: #0D7DC6;
    width: 2px;
    height: 100px;
}

.shape_container .news_title{
    font-family: Verdana, Geneva, sans-serif;
    font-size: 20px;
    position: absolute;
    top: 85px;
    left: 6.1%;
    right: 72%;
}
.shape_container .news_headline{
    font-family: Verdana, Geneva, sans-serif;
    color: #0D7DC6;
    font-size: 24px;
    font-weight: 600;
    position: absolute;
    top: 115px;
    left: 6.1%;
    right: 72%;
    overflow-y: hidden;
}

.shape_container .learnmore_buton{
    display: block;
    color: #ffffff;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 20px;
    position: absolute;
    top: 140px;
    left: 33%;
    background-color: #2E3039;
    padding: 15px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
}

.shape_event_container{
    width: 100%;
    height: 240px;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}

.shape_event_container .clipped{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.shape_event_container .logotri{
    background-color: #0D7DC6;
    clip-path: polygon(0 0, 38% 0, 15% 55%, 0 25%);
    background-image: url('/img/logo_white.png') !important;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: 11% 6%;
    background-size: 68px 85px;
}

.shape_event_container .event_title{
    font-family: Verdana, Geneva, sans-serif;
    font-size: 20px;
    position: absolute;
    top: 145px;
    left: 2%;
    right: 72%;
    text-align: center;
}
.shape_event_container .event_text{
    position: absolute;
    top: 10px;
    left: 37%;
    right: 1%;
    text-align: center;
    overflow-y: hidden;
}

.shape_event_container .event_text .event_headline{
    font-family: Verdana, Geneva, sans-serif;
    color: #0D7DC6;
    font-size: 24px;
    font-weight: 600;
}
.shape_event_container .event_text .event_date{
    font-family: Verdana, Geneva, sans-serif;
    color: #000000;
    font-size: 16px;
    font-weight: 600;
}
.shape_event_container .event_text .event_venue{
    font-family: Verdana, Geneva, sans-serif;
    color: #000000;
    font-size: 16px;
    font-weight: 400;
}

.shape_event_container a.event_link{
    position: absolute;
    top:0;
    bottom:0;
    left:0;
    right:0;
    display:block;
}

.shape_news_container{
    width: 100%;
    height: 100px;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
}
.shape_news_container .clipped{
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}
.shape_news_container .logotri{
    background-color: #0D7DC6;
    clip-path: polygon(0 0, 45% 0, 20% 90%, 0 40%);
    background-image: url('/img/logo_white.png') !important;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-position: 17% 20%;
    background-size: 28px 40px;
}
.shape_news_container .news_headline{
    font-family: Verdana, Geneva, sans-serif;
    color: #000000;
    font-size: 38px;
    font-weight: 600;
    position: absolute;
    top: 15px;
    left: 37%;
    right: 1%;
    text-align: center;
    overflow-y: hidden;
}

/* RESOURCE ICONS */
.res-box {
    font-family: 'Roboto', sans-serif;
    font-weight: bold;
    letter-spacing: 0.1em;
    user-select: none;
    cursor: pointer;
    position: relative;
    width: 80%;
    margin-top: 20px;
    box-sizing: content-box;
    padding: 20px;
    overflow: hidden;
    border: 0 solid;
    border-radius: 24px;
    text-overflow: ellipsis;
    background-origin: padding-box;
    background-clip: border-box;
    background-size: auto auto;
    color: #ffffff;
    box-shadow: 1px 1px 1px 0 rgba(0, 0, 0, 0.3);
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}
.res-box::after {
    content: '';
    display: block;
    margin-top: 90%;
}
.res-box .res-box-content {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 10px;
}
.res-box .res-box-content p {
    height: 80%;
    overflow: hidden;
    text-overflow: ellipsis;
}
.res-box .res-box-bottom-content {
    /*background-color: rgba(34, 34, 34, 0.1);*/
    font-size: 0.6em;
    position: absolute;
    height: 20%;
    bottom: 0;
    left: 0;
    right: 0;
}
.res-box-pdf {
    background: linear-gradient(180deg, #BC4060 0, #D38134 100%);
    border-bottom: 15px solid #CA6704;
}
.res-box-doc {
    background: linear-gradient(180deg, #70A5F5 0, #4150ED 100%);
    border-bottom: 15px solid #1221E9;
}
.res-box-xls {
    background: linear-gradient(180deg, #D2C868 0, #458B4A 100%);
    border-bottom: 15px solid #126C1E;
}
.res-box-ppt {
    background: linear-gradient(180deg, #EE394D 0, #B98DC2 100%);
    border-bottom: 15px solid #A676B9;
}
.res-box-vid {
    background: linear-gradient(180deg, #A94A93 0, #972274 100%);
    border-bottom: 15px solid #8B30DA;
}

h4.rescatheader{
    display: block;
    width: 100%;
    background-color: #ffffff;
    padding-top: 10px;
    padding-right: 15px;
    padding-bottom: 10px;
    padding-left: 15px;
    font-size: 2em;
    border-left: 5px solid #3c8dbc;
    border-radius: 3px;
}


.box-sapphire{
    border-top-color: #ffffff !important;
}

.listing{
    /*color:rgb(51, 51, 51);
    letter-spacing: .1em;*/
}

.listing-link, .listing.listing-link{
    text-decoration: none;
    display:block;
    letter-spacing: .1em;
}
.listing-link:hover{
    opacity:.7;
}

.listing-primary{
    color:rgb(51, 51, 51);
    font-weight: bold;
    letter-spacing: .1em;
}
.listing-secondary{
    color:rgb(51, 51, 51);
    font-weight: normal;
    letter-spacing: .1em;
}
.listing-minor{}


.help-block a{
    font-weight: bold;
    color:inherit;
}


.members-area-grey-box{
    background-color: #f5f5f5;
    padding: 20px;
    padding-bottom:10px;
    margin-bottom: 20px;
}
.sphr-bs-remove-col-margins>div{
    margin-left:0;
    margin-right:0;
    padding-left:0;
    padding-right:0;
}

.members-area-grey-box p{
    font-size: 1.3em;
}

.cost-heading {
    margin-top: 20px;
    margin-bottom:0;
}

.cost-heading + h3 {
    margin-top:5px;
}